package cn.iocoder.yudao.module.scenic.remote.model.param;

import cn.iocoder.yudao.module.scenic.remote.model.param.common.BodyParam;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author superzp
 * @date 2024/04/12 16:43
 */
@Data
public class KnowledgeSearchBodyParam extends BodyParam {

    @JSONField(name = "query")
    private String query;
    @JSONField(name = "knowledge_base_name")
    private String knowledgeBaseName;
    @JSONField(name = "top_k")
    private Integer topK;
    @JSONField(name = "score_threshold")
    private Double scoreThreshold=0.5;
    @JSONField(name = "file_name")
    private String fileName;
    @JSONField(name = "metadata")
    private MetadataDTO metadata;

    @NoArgsConstructor
    @Data
    public static class MetadataDTO {
    }
}
